package org.study.dsm.ds;

import com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * dynamic-datasource实现动态多数据源示例
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2024年04月27日
 */
@MapperScan(basePackages = {"org.study.dsm.ds.mapper"})
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
public class DsmDynamicDatasourceApplication {
    public static void main(String[] args) {
        SpringApplication.run(DsmDynamicDatasourceApplication.class, args);
    }
}
